UkrSolution\UpcEanGenerator\features\products\Products B

Total Complexity 100
Dependencies 5
Dependents 2
Total lines 446
Lines of code 327
Logical lines of code 180
Comment lines 0
Methods 21
Properties 13

Methods 21

Method Rating Maintainability Complexity Lines of code
addCodeValueForNewProduct()
B
40 22 49
generateProductsCodes()
B
36 14 81
searchByProductCodeFieldTables()
A
52 13 25
searchByProductCodeFieldParams()
A
51 13 25
unassignFromFile()
A
48 7 34
woocommerce_process_product_meta()
S
60 6 12
noFreeCodeFoundInDatabaseNotice()
S
58 5 14
__construct()
S
52 4 22
woocommerce_product_options_sku()
S
68 2 7
woocommerce_variation_options()
S
70 2 6
woocommerce_save_product_variation()
S
69 2 6
setProductCodeValue()
S
69 1 6
addSearchQueryParams()
S
73 1 4
codeValueNotUsed()
S
69 1 6
getAllProductsQuery()
S
73 1 4
getProductCodeValue()
S
74 1 4
getProductsInfo()
S
71 1 6
getEmptyCodesTotal()
S
73 1 4
getProductsWithEmptyCodes()
S
73 1 4
getTotal()
S
73 1 4
addSearchQueryTables()
S
74 1 4